settings.outformat = "pdf";
unitsize(0.5cm);
draw((0, 0)..(pi / 2, 1)..(pi, 0)..(3 * pi / 2, -1)..(2 * pi, 0));